#!/bin/bash

for i in {1..3}
do
  echo examine test${i}.txt
  echo expected result
  cat ans${i}.txt
  echo my answer
  cat test${i}.txt | ./calc 
done
